import layout from '@/layout/'
const meta = { auth: false }
export default {
    path: '/advance-setting',
    name: 'advance-setting',
    meta,
    redirect: { name: 'advance-setting-index' },
    component: layout,
    children: (pre => [
        {
            path: 'index',
            name: `${pre}index`,
            component: () => import('@/pages/AdvanceSetting/index'),
            meta: { ...meta, title: '高级设置' }
        },
        {
            path: 'menu',
            name: `${pre}menu`,
            component: () => import('@/pages/AdvanceSetting/SettingMenu'),
            meta: { ...meta, title: '菜单设置' }
        },
        {
            path: 'influsion',
            name: `${pre}influsion`,
            component: () => import('@/pages/AdvanceSetting/SettingInflusin'),
            meta: { ...meta, title: '输注设置' }
        },
        {
            path: 'doctor1',
            name: `${pre}doctor1`,
            component: () => import('@/pages/AdvanceSetting/SettingDoctor1'),
            meta: { ...meta, title: '医生设置1' }
        },
        {
            path: 'doctor2',
            name: `${pre}doctor2`,
            component: () => import('@/pages/AdvanceSetting/SettingDoctor2'),
            meta: { ...meta, title: '医生设置2' }
        },
        {
            path: 'password',
            name: `${pre}password`,
            component: () => import('@/pages/AdvanceSetting/PasswordDoctor'),
            meta: { ...meta, title: '显示设置' }
        },
        // {
        //     path: 'boolMachine',
        //     name: `${pre}boolMachine`,
        //     component: () => import('@/pages/AdvanceSetting/SettingBoolMachine'),
        //     meta: { ...meta, title: '动态血糖仪设置' }
        // },
    ])('advance-setting-')
}